home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / lib / partman / finish.d / 39create_fstab_header < prev    next >
Encoding:
Text File  |  2009-04-19  |  556 b   |  17 lines

  1. #!/bin/sh
  2.  
  3. mkdir -p /target/etc
  4.  
  5. cat >/target/etc/fstab <<EOF
  6. # /etc/fstab: static file system information.
  7. #
  8. # Use 'vol_id --uuid' to print the universally unique identifier for a
  9. # device; this may be used with UUID= as a more robust way to name devices
  10. # that works even if disks are added and removed. See fstab(5).
  11. #
  12. EOF
  13.  
  14. printf "%-15s %-15s %-7s %-15s %-7s %s\n" '# <file system>' '<mount point>' '<type>' '<options>' '<dump>' '<pass>' >> /target/etc/fstab
  15.  
  16. printf "%-15s %-15s %-7s %-15s %-7s %s\n" proc /proc proc defaults 0 0 >> /target/etc/fstab
  17.